<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    template="/WEB-INF/layout/template.xhtml">
    
    <ui:define name="center_content">
        <rich:jQuery selector="#tab_help" query="addClass('ui-tabs-selected')" />
       <s:formattedText id="project-home-content" value="#{applicationConfiguration.helpContent}"></s:formattedText>
 </ui:define>

<ui:define name="left_content">
  <rich:panel id="loggedIn" rendered="#{s:hasRole('admin')}">
    <f:facet name="header">#{messages['jsf.Actions']}</f:facet>
    <s:link styleClass="action_link" value="#{messages['jsf.EditHelpPageContent']}" view="/help/edit_help_content.xhtml" propagation="none">
    </s:link>
  </rich:panel>

</ui:define>

</ui:composition>
